from django import template
register = template.Library()

def comment_if_authd(item, user):
    return {'user':user, 'object':item}

register.inclusion_tag('comments.html')(comment_if_authd)

